package com.qingfeng.client.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author zhangyuefei
 * @version 1.0
 * @date 2020/1/6 10:16 上午
 */
@ApiModel(value = "com.qingfeng.client.bean.CollectShops")
@Data
@TableName(value = "collect_shops")
public class CollectShops {
    /**
     * 店铺收藏id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "店铺收藏id")
    private Long id;

    /**
     * 用户id
     */
    @TableField(value = "buyer_id")
    @ApiModelProperty(value = "用户id")
    private Long buyerId;

    /**
     * 店铺id
     */
    @TableField(value = "store_id")
    @ApiModelProperty(value = "店铺id")
    private Long storeId;
}